@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;700;800&family=Outfit:wght@300;400;500&display=swap');

:root {
    --bg: #0d090f;           
    --surface: #1A1008;      
    --card: #1e161d;         
    --border: #3a1e21;       
    --gold: #C060FF;        
    --gold-dim: #7A30C0;     
    --text: #FFE8CC;         
    --muted: #8C7060;       
    --accent: #FF7A20;      
}

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    background-image: url('../Assets/Img/Default Background.png');
    background-size: 100%;
    background-position: center bottom;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: var(--text);
    font-family: 'Outfit', sans-serif;
    font-size: large;
    font-weight: 300;
    line-height: 1.4;
    overflow-x: hidden;
    margin: 0;
}

main{
    padding: 5rem 5rem 2rem 5rem;
}

section {
    padding: 0 0 4rem;
}

h1, h2, h4, h5, h6 {
    color: var(--gold);
}

h2 {
    font-size: 2.5rem;
    line-height: 1;
    margin: 0;
}

h3 {
    color: var(--accent);
    font-size: 1.6rem;
    line-height: 1;
    margin: 0;
}

/* ── HERO ── */
#hero {
    text-align: center;
    align-items: center;
    background: var(--bg);
    border: 10px solid var(--border);
    border-radius: 20px;
    padding: 1rem 2rem 2rem 2rem;
    box-shadow: 0 10px black;
}

.hero-visual {
    position: relative;
    display: inline-block; 
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4em);
    color: var(--accent);
    line-height: 1.08;
    margin: 0;
}


.hero-visual img {
    width: 100%;
    border: none;
    border-radius: 30px;
    box-shadow: 0 10px black;
    border: 6px solid var(--gold);
    
}

.hero-visual h1 {
    position: absolute;
    bottom: 40%;      
    z-index: 10;
    text-align: center;
    width: 100%;
    color: var(--accent);
    text-shadow: 0px 10px 0px var(--bg);
    font-size: clamp(8rem, 5vw, 4em);
}

/* ══════════════════════════════════════
   COMMISSIONS 
══════════════════════════════════════ */

.commission-status{
    width: 100%;
    text-align: center;
}

.commission-status h3{
    font-size: 3rem;
    line-height: 0.5;
    margin: 0;
}

.commission-open {
    background: #186808;
    border: 10px solid #45b42f;
    border-radius: 20px;
    padding: 0.5rem;
    box-shadow: 0 10px black;
}

.commission-open h3 {
    color: #6ce953;
}

.commission-busy {
    background: #5a6808;
    border: 10px solid #b2b42f;
    border-radius: 20px;
    padding: 0.5rem;
    box-shadow: 0 10px black;
}

.commission-busy h3 {
    color: #e9df53;
}

.commission-closed {
    background: #680808;
    border: 10px solid #b42f2f;
    border-radius: 20px;
    padding: 0.5rem;
    box-shadow: 0 10px black;
}

.commission-closed h3 {
    color: #e95353;
}

#commissions {
    background: var(--bg);
    border: 10px solid var(--border);
    border-radius: 20px;
    padding: 2rem 2.5rem 2.5rem;
    box-shadow: 0 10px black;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}
 
.comm-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
 
.comm-header h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--gold);
    margin: 0;
    text-shadow: 0 4px black;
}
 
/* ── Cards ── */
.comm-cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
}
 
.comm-card {
    background: #1a1018;
    border: 6px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px black;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}
 
.comm-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px black;
}
 
.comm-card--featured {
    border-color: var(--gold);
    box-shadow: 0 8px black, 0 0 24px var(--gold-dim);
}
 
.comm-card--featured:hover {
    box-shadow: 0 14px black, 0 0 36px var(--gold-dim);
}
 
.comm-card-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #0d090f;
}
 
.comm-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.comm-card-img {
    position: relative;
    cursor: pointer;
}

.comm-card-img::after {
    width: 110%;
    height: 15%;
    content: "Click here";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent);
    padding: 44% 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
    background-color: #1e161db0;
    border-radius: 10px;
    text-align: center;
}

.comm-card-img:hover::after {
    opacity: 1;
}

.comm-card:hover .comm-card-img img {
    transform: scale(1.05);
}
 
.comm-card-body {
    padding: 1.2rem 1rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    flex: 1;
}
 
.comm-type {
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    color: var(--accent);
    margin: 0;
    text-shadow: 0 2px black;
}
 
.comm-prices {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.95rem;
}
 
.comm-prices li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.5rem;
    border-radius: 6px;
    background: rgba(255,255,255,0.03);
}
 
.comm-prices li span {
    color: var(--text);
    text-align: left;
    line-height: 1.2;
}
 
.comm-prices li strong {
    font-weight: 500;
    color: var(--gold);
    font-size: 1rem;
    white-space: nowrap;
}
 
.comm-extra {
    margin-top: 0.3rem;
    background: rgba(255, 79, 114, 0.06) !important;
    border: 1px solid rgba(255,79,114,0.2);
}
 
.comm-note {
    font-size: 0.82rem;
    color: var(--accent);
    margin: 0;
    font-weight: bold;
    letter-spacing: 0.03em;
}
/* ── Info row ── */
.comm-info-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.5rem;
    align-items: stretch;
}
 
.comm-rules-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    background: #12090f;
    border: 6px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem 1.5rem 0rem 1.5rem;
    box-shadow: 0 6px black;
    text-align: left;
}
 
.comm-rules-col h4 {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0 0 0.7rem;
    letter-spacing: 0.04em;
}
 
.comm-can h4  { color: #4cde6e; }
.comm-cant h4 { color: #ff4f72; }
 
.comm-rules-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.9rem;
    color: var(--text);
}
 
.comm-rules-col ul li::before {
    content: '— ';
    color: var(--muted);
}

.comm-card--closed {
    position: relative;
    pointer-events: none;
    filter: brightness(0.2);
}

.comm-card--closed::before {
    transform: rotate(15deg) scaleX(1.05);
}

.comm-card--closed::after {
    transform: rotate(-15deg) scaleX(1.05);
}

.comm-card--closed .comm-card-body::after {
    content: 'OUT\A OF\A SERVICE';
    filter: brightness();
    white-space: pre;
    margin-top: -36rem;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 4rem;
    color: var(--gold);
    text-align: center;
    z-index: 3;
    line-height: 1;
    text-shadow: 0 4px black;
    display: grid;
    place-items: center;
}

.comm-card--closed .comm-card-body {
    position: relative;
}

/* ── Contacto ── */
.comm-contact-block {
    background: #12090f;
    border: 6px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    box-shadow: 0 6px black;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    min-width: 200px;
}
 
.comm-contact-block h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--accent);
    margin: 0;
    letter-spacing: 0.04em;
}
 
.comm-discord {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #5865F2;
    font-weight: bold;
    font-size: 1rem;
    margin: 0;
}
 
.comm-payment-logos {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}
 
.comm-payment-logos img {
    height: 50px;
    width: auto;
    filter: brightness(1.1);
}
 
.comm-payment-note {
    font-size: 0.78rem;
    color: var(--muted);
    margin: 0;
    text-align: center;
    line-height: 1.3;
}
 
.comm-footer-note {
    font-size: 0.85rem;
    color: var(--muted);
    margin: 0;
    text-align: center;
}

/* Botones */
.btn {
    padding: .75rem 1.8rem;
    font-size: 1.25rem;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all .1s;
    border-radius: 5px;
}

.btn-primary {
    background: var(--gold);
    color: var(--bg);
    font-weight: 500;
    font-weight: bold;
    box-shadow: 0 5px black;
}

.btn-primary:hover {
    background: var(--accent);
    border: 2px solid var(--gold-dim);
    transform: translateY(-5px);
    box-shadow: 0 5px var(--gold-dim);
}

.btn-primary:active {
  color: var(--muted);
  background-color: var(--card);
  border: 2px solid var(--muted);
  box-shadow: 0 5px var(--muted);
  transform: scale(1);
}

.btn-secondary {
    background: var(--accent);
    color: var(--bg);
    font-weight: 500;
    font-weight: bold;
    box-shadow: 0 5px black;
}

.btn-secondary:hover {
    background: var(--gold);
    border: 2px solid var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 5px var(--accent);
}

.btn-secondary:active {
  color: var(--muted);
  background-color: var(--card);
  border: 2px solid var(--muted);
  box-shadow: 0 5px var(--muted);
  transform: scale(1);
}

.btn-outline {
    font-weight: bold;
    background: transparent;
    color: var(--text);
    border: 2px solid var(--gold);
    border-radius: 5px;
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--gold);
}

.btn-outline:active {
  color: var(--muted);
  background-color: var(--card);
  border: 2px solid var(--muted);
  box-shadow: 0 5px var(--muted);
  transform: scale(1);
}

  /* ── FOOTER ── */
footer {
    display: flex;
    width: 100%;
    margin: 0;
    justify-content: center;
    align-items: center;
    background: var(--bg);
    padding: 1.5rem 2rem;
    box-sizing: border-box;
    border-top: 6px solid var(--border);
}


/* ── ANIMATIONS ── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ══════════════════════════════════════
   NAV
══════════════════════════════════════ */

nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.1rem 6rem;
    background: var(--bg);
    backdrop-filter: blur(12px);
    border-bottom: 4px solid var(--border);
    box-shadow: 0 4px black;
}

.nav-logo {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--gold);
    letter-spacing: .04em;
}

.nav-logo-img {
    height: 47px;
}

.nav-logo-img:hover {
    filter: invert(1) sepia(1) saturate(3) hue-rotate(200deg) brightness(1.2);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    margin: 0.5rem;
    padding: 0;
    align-items: center;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-size: .75rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    transition: color .1s;
}

.nav-links li { transition: transform .15s; }
.nav-links a:hover { color: var(--gold); }
.nav-links li:hover { transform: translateY(-5px); }

/* ── HERO actualizado ── */
#hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding-top: 4rem;
}

.hero-visual {
    position: relative;
    width: 100%;
    max-width: 900px;
}

.hero-visual img {
    width: 100%;
    border-radius: 20px;
    border: 6px solid var(--gold);
    box-shadow: 0 10px black;
    display: block;
}

.hero-visual h1 {
    position: absolute;
    bottom: 40%;
    z-index: 10;
    text-align: center;
    width: 100%;
    color: var(--accent);
    text-shadow: 0px 10px 0px var(--bg);
    font-size: clamp(2rem, 8vw, 6rem);
    margin: 0;
}

.hero-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.hero-label {
    color: var(--muted);
    font-size: 1rem;
    margin: 0;
}

/* ══════════════════════════════════════
   LANGUAGE SWITCH
══════════════════════════════════════ */

.language-switch {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    user-select: none;
}

.language-switch input { display: none; }

.language-slider {
    position: relative;
    width: 110px;
    height: 34px;
    background: var(--card);
    border: 2px solid var(--border);
    border-radius: 34px;
    transition: background 0.3s, border-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px black;
}

.language-slider::before {
    content: '';
    position: absolute;
    left: 3px;
    width: 26px;
    height: 26px;
    background: var(--muted);
    border-radius: 50%;
    transition: transform 0.3s, background 0.3s;
    z-index: 2;
}

.language-switch input:checked + .language-slider {
    background: var(--border);
    border-color: var(--gold);
    box-shadow: 0 4px var(--gold-dim);
}

.language-switch input:checked + .language-slider::before {
    transform: translateX(76px);
    background: var(--gold);
}

.language-label-off,
.language-label-on {
    position: absolute;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: .04em;
    transition: opacity 0.3s;
    z-index: 1;
}

.language-label-off { right: 6px; color: var(--muted); opacity: 1; }
.language-label-on  { left: 6px;  color: var(--gold);  opacity: 0; }

.language-switch input:checked + .language-slider .language-label-off { opacity: 0; }
.language-switch input:checked + .language-slider .language-label-on  { opacity: 1; }

/* ══════════════════════════════════════
   RESPONSIVE — index
══════════════════════════════════════ */

@media (max-width: 1024px) {
    body { background-size: cover; }
    nav { padding: 0.5rem 1.5rem; }
    main { padding: 0.5rem 1.5rem 2rem; }

    .hero-visual h1 {
        font-size: clamp(1.8rem, 10vw, 4rem);
        bottom: 35%;
    }

    .btn { font-size: 1rem; padding: 0.65rem 1.4rem; }

    .comm-cards {
        grid-template-columns: 1fr 1fr;
    }
    .comm-card:last-child {
        grid-column: 1 / -1;
        max-width: 400px;
        margin: 0 auto;
        width: 100%;
    }
    .comm-info-row {
        grid-template-columns: 1fr;
    }
    .comm-contact-block {
        min-width: unset;
    }
}


@media (max-width: 768px) {
    body { background-size: cover; }
    nav { padding: 0.5rem 1.5rem; }
    main { padding: 0.5rem 1.5rem 2rem; }

    .hero-visual h1 {
        font-size: clamp(1.8rem, 10vw, 4rem);
        bottom: 35%;
    }

    .btn { font-size: 1rem; padding: 0.65rem 1.4rem; }
    .comm-cards {
        grid-template-columns: 1fr;
    }
    .comm-card:last-child {
        grid-column: auto;
        max-width: 100%;
    }
    .comm-rules-block {
        grid-template-columns: 1fr;
    }
    .comm-info-row {
        grid-template-columns: 1fr;
    }

    .comm-card--closed .comm-card-body::after {
    margin-top: -27rem;
    font-size: 3.5rem;
    }
}

@media (max-width: 480px) {
    body { background-size: cover; }
    nav { padding: 0.5rem 1rem; }
    .nav-logo { font-size: 0.85rem; }
    main { padding: 7rem 0.8rem 2rem 0.8rem; }

    .hero-visual { border-radius: 12px; }
    .hero-visual img {  margin: -4rem 0 0 -2rem; width: 120%; border-width: 4px; border-radius: 12px; }
    .hero-visual h1 {
        position: relative;
        font-size: clamp(1.4rem, 12vw, 3rem);
        margin-top: 1rem;
    }

    .btn { font-size: 0.9rem; width: 100%; text-align: center; }
    footer { padding: 1rem 1rem 1rem 1rem; font-size: 0.85rem; }
    .comm-cards {
        grid-template-columns: 1fr;
    }
    .comm-card:last-child {
        grid-column: auto;
        max-width: 100%;
    }
    .comm-rules-block {
        grid-template-columns: 1fr;
    }
    .comm-cant{
        margin-bottom: 1.5rem;
    }
    .comm-info-row {
        grid-template-columns: 1fr;
    }

    .comm-card--closed .comm-card-body::after {
    margin-top: -27rem;
    font-size: 3.5rem;
    }
}
